package com.bysj.studentsystem.service;

import com.bysj.studentsystem.entity.SysRewardAssistedLoan;
import com.bysj.studentsystem.vo.SysRewardAssistedLoanVO;
import com.github.pagehelper.PageInfo;

/**
 * (SysRewardAssistedLoan)表服务接口
 *
 * @author makejava
 * @since 2024-03-09 16:51:49
 */
public interface SysRewardAssistedLoanService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    SysRewardAssistedLoan queryById(Integer id);

    /**
     * 分页查询
     *
     * @param sysRewardAssistedLoan 筛选条件
     * @return 查询结果
     */
    PageInfo<SysRewardAssistedLoanVO> queryByPage(SysRewardAssistedLoan sysRewardAssistedLoan, int pageNum, int pageSize);

    /**
     * 新增数据
     *
     * @param sysRewardAssistedLoan 实例对象
     * @return 实例对象
     */
    SysRewardAssistedLoan insert(SysRewardAssistedLoan sysRewardAssistedLoan);

    /**
     * 修改数据
     *
     * @param sysRewardAssistedLoan 实例对象
     * @return 实例对象
     */
    SysRewardAssistedLoan update(SysRewardAssistedLoan sysRewardAssistedLoan);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Integer id);

}
